package router

import (
	"github.com/gin-gonic/gin"
	"go-mall/app/client/api"
)

type CarouselRouter struct{}

func (r *CarouselRouter) ClientCarouselRouter(publicRouter *gin.RouterGroup, privateRouter *gin.RouterGroup) {
	carouselApi := api.ClientApi.CarouselApi
	privateCarouselRouter := privateRouter.Group("carousel")
	{
		privateCarouselRouter.GET("home", carouselApi.HomeCarousel) // 首页轮播图
	}
}
